package com.xtwy.service.model;

import com.xtwy.common.core.model.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "sys_permission")
@Data
public class Permission extends BaseEntity<Long> {

    @Column(name = "parentId")
    private Integer parentid;

    private String name;

    private String css;

    private String href;

    private Boolean type;

    private String permission;

    private Integer sort;
}